package com.zkingsoft.dao;

import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;
import com.matrix.core.pojo.PaginationVO;
import com.zkingsoft.bean.BizCollageInfo;

/**
 * @description (团信息)
 * @author 何明
 * @date 2018-05-23 00:08
 */
public interface BizCollageInfoDao{

	public int insert(@Param("item") BizCollageInfo bizCollageInfo);
   	
   	public int batchInsert(@Param("list") List<BizCollageInfo> bizCollageInfoList);
   	
	public int updateByMap(Map<String, Object> modifyMap);
	
	public int updateByModel(@Param("record")BizCollageInfo bizCollageInfo);
	
	public int deleteByIds(@Param("list") List<String> list);
	
	public int deleteById(String cinfoId);

	public int deleteByModel(@Param("record") BizCollageInfo bizCollageInfo);
	
	public List<BizCollageInfo> selectInPage(@Param("record") BizCollageInfo bizCollageInfo, @Param("pageVo") PaginationVO pageVo);

	public List<BizCollageInfo> selectByModel(@Param("record") BizCollageInfo bizCollageInfo);
	
	public int selectTotalRecord(@Param("record") BizCollageInfo bizCollageInfo);
	
	public BizCollageInfo  selectById(String cinfoId);
	
	public BizCollageInfo  selectForUpdate(String cinfoId);
	
	public int getMaxCinfoNum(String actId);
	
	public List<BizCollageInfo> selectByColId(@Param("actId")String actId,@Param("status") String status);

	public BizCollageInfo  selectByCinfoId(String cinfoId);

}